package com.demo.entity;

import java.sql.Timestamp;

/**
 * 销售员
 */
public class SalePerson {
    private Integer id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 用户头像
     */
    private String avatar;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    /**
     * 手机
     */
    private String phone;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 是经过身份认证：0未认证证，1已认证
     */
    private String valid;
    /**
     * 备注
     */
    private String remark;
    /**
     * 会员级别：0普通销售员，1销售经理，2企业销售
     */
    private String level;
    /**
     * 我的销售员数量
     */
    private Integer salesCount;
    /**
     * 销售经理ID
     */
    private String userId;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 密码
     */
    private String password;
    /**
     * 我的客户数量
     */
    private Integer customerCount;
    /**
     * 微信openid
     */
    private String openid;
    /**
     * 手机是否已验证：0未验证，1已验证
     */
    private String phoneValid;
    /**
     * 身份证号
     */
    private String idCard;
    /**
     * 身份证正面
     */
    private String idCardFront;
    /**
     * 身份证反面
     */
    private String idCardReverse;
    /***
     * 手持身份证
     */
    private String idCardHold;
    /**
     * 累计交易金额
     */
    private Double saleCash;
    /*
        *创建时间
         */
    private Timestamp createAt;
    /**
     * 开户行名称
     */
    private String bankName;
    /**
     * 开户行账号
     */
    private String bankAccount;

    private Double cashTotal;
    private Double cashReceivedTotal;
    private Double cashWillReceiveTotal;
    /**
     * 可提现佣金
     */
    private Double cashCanWithDrawTotal;
    /**
     * 提现中佣金
     */
    private Double cashCanWithDrawingTotal;
    /**
     * 更新时间
     */
    private Timestamp updateAt;

    public Timestamp getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Timestamp createAt) {
        this.createAt = createAt;
    }

    public Timestamp getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Timestamp updateAt) {
        this.updateAt = updateAt;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getValid() {
        return valid;
    }

    public void setValid(String valid) {
        this.valid = valid == null ? null : valid.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level == null ? null : level.trim();
    }

    public Integer getSalesCount() {
        return salesCount;
    }

    public void setSalesCount(Integer salesCount) {
        this.salesCount = salesCount;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getCustomerCount() {
        return customerCount;
    }

    public void setCustomerCount(Integer customerCount) {
        this.customerCount = customerCount;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getPhoneValid() {
        return phoneValid;
    }

    public void setPhoneValid(String phoneValid) {
        this.phoneValid = phoneValid == null ? null : phoneValid.trim();
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard == null ? null : idCard.trim();
    }

    public String getIdCardFront() {
        return idCardFront;
    }

    public void setIdCardFront(String idCardFront) {
        this.idCardFront = idCardFront == null ? null : idCardFront.trim();
    }

    public String getIdCardReverse() {
        return idCardReverse;
    }

    public void setIdCardReverse(String idCardReverse) {
        this.idCardReverse = idCardReverse == null ? null : idCardReverse.trim();
    }

    public String getIdCardHold() {
        return idCardHold;
    }

    public void setIdCardHold(String idCardHold) {
        this.idCardHold = idCardHold == null ? null : idCardHold.trim();
    }

    public Double getSaleCash() {
        return saleCash;
    }

    public void setSaleCash(Double saleCash) {
        this.saleCash = saleCash;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }
}